home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Graphics Plus
/
Graphics Plus.iso
/
amiga
/
viewers
/
ham8_jpg.lha
/
ham8-jpeg
/
Source
/
SMakefile
< prev
Wrap
Makefile
|
1992-12-20
|
994b
|
38 lines
# Makefile for AGA HAM 8 Public Screen and JPEG viewer
# Michael Saunby December 1992
#
# To build either of the JPEG viewers you will need the
# Independent JPEG Group's source code. see the file
# jpeg/README for more information.
#
CC = SC
DEBUG =
OPTIM = OPT OPTTIME OPTINLOCAL
CPU = CPU 68020
CFLAGS = UTILLIB $(CPU) $(DEBUG) $(OPTIM)\
DEFINE NO_MKTEMP=1 DEFINE HAVE_STDC=1 DEFINE AMIGA=1 \
DEFINE INCOMPLETE_TYPES_BROKEN=1 DEFINE SHORTxSHORT_32=1
JPEGLIB = LIB jpeg/libdjpeg.lib
LINK= SC LINK LINKOPT SC LINKOPT SD LINKOPT ND
.c.o:
$(CC) $(CFLAGS) $*
.asm.o:
$(CC) $(CFLAGS) $*.asm
all: ham8 al-j al-backdrop
# The public screen
ham8: ham8.o display24.o
$(LINK) $(CFLAGS) STRT cback ham8.o display24.o
# The JPEG viewer
al-j: al-j.o display24.o main.o
$(LINK) $(CFLAGS) al-j.o display24.o main.o $(JPEGLIB)
# The backdrop loader (JPEG of course)
al-backdrop: al-backdrop.o display24.o main.o
$(LINK) $(CFLAGS) al-backdrop.o display24.o main.o $(JPEGLIB)